(function () {

  class Person {
    firstName: string;
    lastName: string;
    fullName: string;

    constructor(firstName: string, lastName: string) {
      this.firstName = firstName;
      this.lastName = lastName;
      this.fullName = this.firstName + "_" + this.lastName
    }
  }

  interface IPerson {
    firstName: string,
    lastName: string
  }

  function showName(person: IPerson) {
    return `我的全称是${person.firstName}${person.lastName}`
  }

  let person = new Person("欧阳", "娜娜")
  // console.log(person)
  let result = showName(person)
  console.log(result)

})()